package com.tanhua.commons.utils;

/**
 * @Description: Constant definition 常量定义
 * @Author: Spike Wong
 * @Date: 2022/8/8
 */
public class Constants {

    /*
    手机验证码前缀
     */
    public static final String SMS_CODE = "SMS_CHECK_CODE_";


    /*
    邮箱验证码前缀
     */
    public static final String EMAIL_CODE = "EMAIL_CHECK_CODE_";

    //手机APP短信验证码CHECK_CODE_
    public static final String CAP_CODE = "CHECK_CODE_";

    //冻结用户状态KEY
    public static final String USER_FREEZE = "USER_FREEZE_";

    //冻结HashKEY
    public static final String FREEZE_USER = "2";

    //推荐动态
    public static final String MOVEMENTS_RECOMMEND = "MOVEMENTS_RECOMMEND_";

    //推荐视频
    public static final String VIDEOS_RECOMMEND = "VIDEOS_RECOMMEND_";

    //圈子互动KEY
    public static final String MOVEMENTS_INTERACT_KEY = "MOVEMENTS_INTERACT_";

    //视频互动KEY
    public static final String VIDEOS_INTERACT_KEY = "VIDEOS_INTERACT_";

    //动态点赞用户HashKey
    public static final String MOVEMENT_LIKE_HASHKEY = "MOVEMENT_LIKE_";

    //动态喜欢用户HashKey
    public static final String MOVEMENT_LOVE_HASHKEY = "MOVEMENT_LOVE_";

    //视频点赞用户HashKey
    public static final String VIDEO_LIKE_HASHKEY = "VIDEO_LIKE_";

    /**
     * 访问用户
     */
    public static final String VISITORS_USER = "VISITOR_USER";

    //初始化密码
    public static final String INIT_PASSWORD = "123456";

    public static final String HUANXIN_PREFIX = "hx";

    //环信用户前缀
    public static final String HX_USER_PREFIX = "hx";

    /*
    队列钥匙key：user ,movement,video
     */
    public static final String QUEUE_KEY_USER = "user";

    public static final String QUEUE_KEY_MVM = "movement";

    public static final String QUEUE_KEY_VIDEO = "video";

    //jwt加密盐
    public static final String JWT_SECRET = "kiseki";

    //// TOKEN的有效期1小时（S）
    public static final int JWT_TIME_OUT = 3_600;

    //用户喜欢Redis的key
    public static final String USER_LIKE_KEY = "USER_LIKE_SET_";

    //用户不喜欢Redis的key
    public static final String USER_NOT_LIKE_KEY = "USER_NOT_LIKE_SET_";

    //关注用户的key
    public static final String FOCUS_USER_KEY = "FOCUS_USER_KEY_";

}

